import React from 'react';
import { Text } from 'react-native';
import { Rem } from '../utils/view';
import { colors } from '../styles/basic';

const CText = ({ size = 30, color = colors.Black, children }) => {
  return <Text style={{ fontSize: Rem(size), color: color }}>{children}</Text>;
};

export default CText;